<div id="content">
    	<table class="listCustomer" width="100%" border="0"  cellspacing="0" cellpadding="0">
  <tr>
    <th scope="col">First Name</th>
    <th scope="col">Last Name</th>
    <th scope="col">Email</th>
    <th scope="col">Phone</th>
    <th scope="col">Birth Day (dd-mm-yyyy)</th>
    <th scope="col">Address</th>
    <th scope="col" width="100px">Command</th>
  </tr>
  <?php if (count($this->paginator)): ?>
  <?php  
  $i=0; 
  foreach($this->paginator as $item): ?>
  <tr <?php echo ++$i%2==0?"class='row2'":"" ?>>
    <td><?php echo $item->customer_fname; ?></td>
    <td><?php echo $item->customer_lname; ?></td>
    <td><?php echo $item->customer_email; ?></td>
    <td><?php echo $item->customer_phone; ?></td>
    <td><?php echo date('d-m-Y',strtotime($item->customer_birthday));?></td>
    <td><?php echo $item->customer_address; ?></td>
    <td align="center"><a onclick="return confirm('Are you sure?');" href="<?php echo $this->link."delete/id/$item->customer_id" ?>">Delete</a> - 
    <a href="<?php echo $this->link."update/id/$item->customer_id" ?>">Update</a></td>
  </tr>
  <?php endforeach;?> 
  <?php endif; ?>
</table>	
		<?php echo $this->paginationControl($this->paginator, 'Sliding', 'pagination_control.phtml'); ?>
        <div class="clear"></div>
  </div>  